<?php
namespace app\admin\controller;
use think\Db;//导入数据库类 (DB类)
use think\Controller;
use think\Session;
use think\Request;
use app\admin\model\User;
class Index extends Controller
{
    public function index()
    {
         return view('index/admin-login');
    }


  

    public function admin()
    {


         

        $no = db('notice')->where('status',1)->select();
        $this->assign('no',$no);
         return view('Index/admin-index');

    }
 
}

